home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-1297 / AMOSLIST / 000105_amos-request@svcs1.digex.net_Thu Dec 11 05:32:02 1997.msg < prev    next >
Text File  |  1998-06-24  |  3KB  |  82 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail4.access.digex.net (8.8.5/8.8.5) with ESMTP id FAA15407
  3.     for <mcox@access.digex.net>; Thu, 11 Dec 1997 05:32:00 -0500 (EST)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id DAA05736
  6.     for amos-out; Thu, 11 Dec 1997 03:34:54 -0500 (EST)
  7. Received: from mail3.access.digex.net (mail3.access.digex.net [205.197.247.4])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id DAA05733
  9.     for <amos-list@svcs1.digex.net>; Thu, 11 Dec 1997 03:34:53 -0500 (EST)
  10. Received: from c2gate.tcom.co.uk (c2gate.tcom.co.uk [194.6.96.2])
  11.     by mail3.access.digex.net (8.8.5/8.8.5) with SMTP id DAA11493
  12.     for <amos-list@access.digex.net>; Thu, 11 Dec 1997 03:34:49 -0500 (EST)
  13. Received: from Connect2 Message Router by c2gate.tcom.co.uk
  14.     via Connect2-SMTP 4.30A; Thu, 11 Dec 1997 08:32:51 +0000
  15. Message-ID: <83CDD93001F73000@c2gate.tcom.co.uk>
  16. Date: Thu, 11 Dec 1997 8:24:00 +0000
  17. From: "Wayne O'Donnell" <wayneo@bacg.com>
  18. Sender: "Wayne O'Donnell" <wayneo@bacg.com>
  19. Organization: *
  20. To: amos-list@access.digex.net (AMOS List),
  21.         berionne@flashnet.it (Michele Berionne)
  22. Subject: Re: AMOS>Txt + Installer docs
  23. Importance: Normal
  24. MIME-Version: 1.0
  25. Content-type: text/plain; charset="US-ASCII"
  26. Content-disposition: inline
  27. Content-transfer-encoding: 7bit
  28. X-Mailer: Connect2-SMTP 4.30A MHS/SMF to SMTP Gateway
  29. Status: O
  30. X-Status: 
  31.  
  32.  
  33.  
  34. >>>Has anyone got a util to convert AMOS source into an ASCII file?
  35. >>>Is it possible to write an AMOS program which can in turn load a source 
  36. and
  37. >>> save it as ASCII?
  38.  
  39. > > Load your prg in the editor. Select all from the block menu. Store from
  40.  >> block menu. Save block as ASCII. Tada.
  41.  
  42. >I think I wanted something to do it on the fly. He said he was looking for
  43. >a tool to add to DOpus and display the sources as ASCII files, without
  44. >storing the ASCII files on the hd.
  45.  
  46. Thats exactly what I meant.
  47. I attempted to start writing a conversion program lst night but didn't get 
  48. very far.
  49. I was trying to get it to just do REM statements initially but had trouble 
  50. splitting up the file into the bits I wanted.
  51.  
  52. So far I have got a header of 20 chars (using AMOS Pro v2 - probably 
  53. different on other versions) and a trailer of 10(ish) chars.
  54.  
  55. If I strip these bits of I am left with the main program in some encrypted 
  56. format.
  57. Coding a small program...
  58.  
  59. Rem a
  60. Rem b
  61.  
  62. ...shows me that the HEX string for the REM statement.
  63. Now if my program is just 1 line then I get approx 8 character back which 
  64. seem to map to the REM followed by some junk followed by the actual remark 
  65. (a).
  66. With the program above I would expect just for the string to be repeated 
  67. with b replacing a and maybe a decimal 10 and 13 stuck inbetween - no such 
  68. luck though!
  69. It seems that it just sticks what it likes in the file.
  70.  
  71. At the rate I am going its not looking very promising - it would probably 
  72. take me a couple of years to find out the format.
  73.  
  74. Do I recall correctly that the source for Amos is now PD?
  75. If so, does anyone know where I could get it.
  76. I think if I had the source then I could just pull out the LOAD, BLOCK ALL 
  77. and SAVE AS ASCII commands and stick them into an executable .
  78.  
  79.  
  80.  
  81.  
  82.